package com.ndp.fb.fbagent.service;

import org.springframework.context.ApplicationContext;

import com.alibaba.dubbo.container.Main;
import com.ndp.fb.config.BaseConfig;
import com.ndp.fb.dubbo.container.ContainerPost;
import com.ndp.fb.dubbo.container.SpringBootContainer;

/**
 * Created by infi on 2015/1/26.
 */
public class FBAgentServices {
    public static void main(String[] args) {
        BaseConfig.DEV = true;

        SpringBootContainer.containerPostList.add(new ContainerPost() {
            @Override
            public void doPost(ApplicationContext applicationContext) {
//                FeedParesService FeedParesService = applicationContext.getBean(FeedParesService.class);
//                System.out.println(FeedParesService.feedParse("",""));
            }
        });

        String[] argsparams = {"springboot"};
        Main.main(argsparams);
    }
}
